package com.codeplex.tdmg4mc;

import java.io.File;

import net.minecraft.server.MinecraftServer;
import net.minecraftforge.common.config.Configuration;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@SideOnly(Side.SERVER)
public class TDMGServerProxy extends TDMGCommonProxy
{
	@Override
	public void init(Configuration config)
	{
		TDMG.isClient=false;
	}

	@Override
	public Configuration getConfig()
	{
		return new Configuration(new File(MinecraftServer.getServer().getFolderName(), "config/TDMG.cfg"), true);
	}
	
	@Override
	public int addArmor(String name)
	{
		return 0;
	}
}
